<div class="companyfields">
	<h3>Firmendaten</h3>
	<%= form_for @company, url: {action: "show"} do |f| %>
		<input type="hidden" id="company_id" value="<%= @company.id %>">
	  	<table>
		  	<tr>
		  		<td><%= f.label :name %>:</td>
		  		<td><%= f.text_field :name %></td>
		  	</tr>
		  	<tr>
		  		<td><%= f.label :address %>:</td>
		  		<td><%= f.text_field :address %></td>
		  	</tr>
		  	<tr>
		  		<td><%= f.label :account %>:</td>
		  		<td><%= f.text_field :account %></td>
		  	</tr>
	  	</table>
	  
		<input type="button" id="updatebutton" value="Update">

	<% end %>
</div>

